import { createContext } from 'react'
import Taro from '@tarojs/taro'

Taro.cloud.init()
const db = Taro.cloud.database()
const minipet = db.collection('minipet')

const minicontext = createContext(minipet)

export default minicontext